package com.shop.pojo.pms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

//商品评价
@TableName("pms_spu_comment")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Pms_Spu_Comment implements Serializable {
       @TableId(type = IdType.AUTO)
    private Long id;//
       private Long sku_id;//sku_id',
       private Long spu_id;//spu_id',
       private String spu_name;//商品名字',
       private String member_nick_name;//会员昵称',
       private int star;//星级',
       private String member_ip;//会员ip',
       private Date create_time;//创建时间',
       private int show_status;//显示状态[0-不显示，1-显示]',
       private String spu_attributes;//购买时属性组合',
       private int likes_count;//点赞数',
       private int reply_count;//回复数',
       private String resources;//评论图片/视频[json数据；[{type:文件类型,url:资源路径}]]',
       private String content;//内容',
       private String member_icon;//用户头像',
       private int comment_type;//评论类型[0 - 对商品的直接评论，1 - 对评论的回复]',


}
